package com.ruoyi.ihome.domain;

import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.io.Serializable;


/**
 * 帖子评论管理对象 ih_topic_comment
 * 
 * @author mirage
 * @date 2024-08-13
 */
public class IhTopicComment extends BaseEntity implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 帖子id */
    @Excel(name = "帖子id")
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 帖子id */
    @Excel(name = "帖子id")
    private Long topicId;

    /** 评价内容 */
    @Excel(name = "评价内容")
    private String content;
    /** 评价人 */
    private SysUser user;
    /** 评价时间 */
    private String topicTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setTopicId(Long topicId) 
    {
        this.topicId = topicId;
    }

    public Long getTopicId() 
    {
        return topicId;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public String getTopicTime() {
        return topicTime;
    }

    public void setTopicTime(String topicTime) {
        this.topicTime = topicTime;
    }

    public SysUser getUser() {
        return user;
    }

    public void setUser(SysUser user) {
        this.user = user;
    }

    @Override
    public String toString() {
        return "IhTopicComment{" +
                "id=" + id +
                ", userId=" + userId +
                ", topicId=" + topicId +
                ", content='" + content + '\'' +
                ", user=" + user +
                ", topicTime='" + topicTime + '\'' +
                "} " + super.toString();
    }
}
